#ifndef RESMGR_H
#define RESMGR_H

#include <iostream>

#include "Shader.h"
#include "third/stb_image.h"

class ResMgr {
public:
	ResMgr();
	~ResMgr();

	static ResMgr* GetInst();
	void Init(const std::string rootPath);

	bool LoadFont(const std::string fileName);
	bool LoadModel(const std::string fileName);
	GLuint LoadTexture(const std::string fileName);
	bool LoadShader(const std::string vfileName, const std::string ffileName, Shader &shader);

	std::string rootPath;

private:
	static ResMgr* inst;
};

#endif